<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Shsc.Net.FrameWork.Dto.Home.LoginDto>" %>
<%@ Import Namespace="Shsc.Net.FrameWork.Dto.Home" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Login
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%= Html.ValidationSummary() %>
    <% LoginDto dto = (LoginDto)ViewData["LoginInfo"]; %>
    <% using (Html.BeginForm("DoLogin", "Home", FormMethod.Post)) { %>
    <fieldset>
    <legend>Login</legend>
    <p>
        <label for="LoginUserId">UserId:</label>
        <%= Html.TextBox("LoginUserId", dto.LoginUserId)%> 
        <%= Html.ValidationMessage("LoginUserId", "*")%>
    </p>
    <p>
        <label for="PassWord">PassWord:</label>
        <%= Html.Password("PassWord") %>
        <%= Html.ValidationMessage("PassWord", "*")%>
    </p>
    <p>
        <input type="submit" value="Login" />
    </p>
    </fieldset>
    <%} %>
</asp:Content>
